﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Ks.Fs.Entity
{
    [DataContract]
    public class User
    {
        int id;
        [DataMember]
        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        string username;
        [DataMember]
        public string Username
        {
            get { return username; }
            set { username = value; }
        }
        string password;
        [DataMember]
        public string Password
        {
            get { return password; }
            set { password = value; }
        }
        int imageFileId;
        [DataMember]
        public int ImageFileId
        {
            get { return imageFileId; }
            set { imageFileId = value; }
        }
        DateTime birthday;
        [DataMember]
        public DateTime Birthday
        {
            get { return birthday; }
            set { birthday = value; }
        }
        DateTime createdOn;
        [DataMember]
        public DateTime CreatedOn
        {
            get { return createdOn; }
            set { createdOn = value; }
        }

        string about;
        [DataMember]
        public string About
        {
            get { return about; }
            set { about = value; }
        }

        bool isActive;
        [DataMember]
        public bool IsActive
        {
            get { return isActive; }
            set { isActive = value; }
        }
    }
}
